namespace Kugar.Core.Security
{
    public interface IUserGroupManager
    {
        bool UserGroup_Insert(RMS_UserGroup groupInfo);
        RMS_UserGroup UserGroup_GetPermissionByID(string groupID);
        bool UserGroup_UpdatePermission(int groupID, RMS_PermissionItemValue[] permissionList);
        void UserGroup_DeleteByID(int  groupID);
        bool UserGroup_AddUser(int groupID, int  userID);
        bool UserGroup_DeleteUser(int groupID, int userID);
        RMS_UserGroup[] ToArray();
        void Dispose();
    }
}